
<meta charset="utf-8" />	
<form class="form-horizontal" role="form"  onsubmit="return submitForm(this);"
 action="" >
 <br/>
	<!-- 
	 * Input属性说明:
	 * validate="true"  是否需要验证字段
	 * msg="错误时提示信息"        
	 * datatype="数据类型"
	-->
	<!-- #section:elements.form -->
	<div class="form-group">
		<label class="col-sm-2 control-label no-padding-right"
			for="form-field-1">商户编号 ： </label>
		<div class="col-sm-4">
			<input type="text" id="custId" name="custId" 
				class="col-xs-10 col-sm-7" readonly="readonly" />
		</div>
		
		<label class="col-sm-2 control-label no-padding-right"
			for="form-field-1">商户名称 ： </label>
		<div class="col-sm-4">
			<input type="text" id="custName" name="custName"
				class="col-xs-10 col-sm-7"  readonly="readonly"/>
		</div>
	</div>
	
	<div class="form-group">
		<label class="col-sm-2 control-label no-padding-right"
			for="form-field-1">商品订单号： </label>
		<div class="col-sm-4">
			<input type="text" id="prdordno" name="prdordno" 
				class="col-xs-10 col-sm-7" readonly="readonly" />
		</div>
		
		<label class="col-sm-2 control-label no-padding-right"
			for="form-field-1"> 订单类型 ： </label>
		<div class="col-sm-4">
			<select 
		rel="obj.PRDORDTYPE"
						location="local" 
		 name="prdordtype" 
		 id="prdordtype" 
		  style="width: 120px;vertical-align:middle;" disabled="disabled">
						 </select>
			 
		</div>
	</div>
		
		
	<div class="form-group">
		<label class="col-sm-2 control-label no-padding-right"
			for="form-field-1"> 子业务类型 ： </label>
		<div class="col-sm-4">
			<select 
		rel="obj.BIZTYPE"
						location="local" 
		 name="biztype" 
		 id="biztype" 
		  style="width: 120px;vertical-align:middle;" disabled="disabled">
						 </select>
			 
		</div>
		
		<label class="col-sm-2 control-label no-padding-right"
			for="form-field-1"> 订单状态： </label>
		<div class="col-sm-4">

                  <select 
		                rel="obj.ORDSTATUS"
						location="local" 
		                name="ordstatus" 
		                id="ordstatus" 
		                style="width: 120px;vertical-align:middle;" disabled="disabled">
						 </select>
		</div>
	</div> 
	<div class="form-group">
		<label class="col-sm-2 control-label no-padding-right"
			for="form-field-1"> 订单金额： </label>
		<div class="col-sm-4">
			<input type="text" id="ordamt" name="ordamt"" 
				class="col-xs-10 col-sm-7"  readonly="readonly"/>
		</div>
		<label class="col-sm-2 control-label no-padding-right"
			for="form-field-1">支付订单号： </label>
		<div class="col-sm-4">

			<input type="text" id="payordno" name="payordno"
				class="col-xs-10 col-sm-7" readonly="readonly" />
		</div>
		
	</div>
	<div class="form-group">
		<label class="col-sm-2 control-label no-padding-right"
			for="form-field-1"> 商品单价，单位：分： </label>
		<div class="col-sm-4">

			<input type="text" id="price" name="price" 
				class="col-xs-10 col-sm-7"  readonly="readonly"/>
		</div>
		<label class="col-sm-2 control-label no-padding-right"
			for="form-field-1">商品名称 ： </label>
		<div class="col-sm-4">

			<input type="text" id="goodsName" name="goodsName"
				class="col-xs-10 col-sm-7"  readonly="readonly"/>
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-2 control-label no-padding-right"
			for="form-field-1">商品简称 ： </label>
		<div class="col-sm-4">

			<input type="text" id="goodsNameShort" name="goodsNameShort" 
				class="col-xs-10 col-sm-7" readonly="readonly" />
		</div>
		<label class="col-sm-2 control-label no-padding-right"
			for="form-field-1">支付方式 ： </label>
		<div class="col-sm-4">
			<select 
		rel="obj.PAYTYPE"
						location="local" 
		 name="paytype" 
		 id="paytype" 
		  style="width: 120px;vertical-align:middle;" disabled="disabled">
						 </select>
		</div>
	</div>
	
	
	<div class="form-actions align-right  form-button-box" style="margin-top: 10px">
			
			<button class="btn" type="button" onclick="javascript:dialog.close(this);">
				 关闭
			</button>
		</div>
	
</form>
<script type="text/javascript">
<!--

//-->

$(document).ready(function() {
	
});

function submitForm(obj){
	//自定义匿名回调函数。 系统默认回调函数：dialogAjaxDone
	return validateCallback(obj,function(result){
		if(result.rspcod== 200){
			msg.alert("提示", result.rspmsg, 'correct');
			$("#grid-table").trigger("reloadGrid");
			dialog.close(obj);
		}else{
			msg.alert("错误", result.rspmsg + " 错误代码："
					+ result.rspcod, 'error');
		}
	});
}

</script>
